#ifndef MESSAGE_H_
#define MESSAGE_H_

#define TEXT_SIZE	255

#define	REQUEST	1
#define	RESPONSE	2



enum MessageType{
	CONECTAR,
	DESCONECTAR,
	INICIAR_CONVERSACION,
	ELIMINAR_CONVER,
	CONV_ACTIVAS,
	PARTIC_ACTIVOS,
	UNIRSE_CONV,
	DEJAR_CONV,
	ERROR,
	OK,
	CONVERSAR
};

typedef struct message {
	long mtype;
	int commandId;
	int clientId;
	int groupChatId;
	char text[TEXT_SIZE];
} message;


#endif /*MESSAGE_H_*/
